<?php

class Sql {
    
var $host = "localhost";
var $username = "root";
var $password = "vertrigo";
var $database = "mobileshop";
var $conn;

	function __construct() {
		$this->conn = @mysql_connect($this->host, $this->username, $this->password);
        @mysql_select_db($this->database, $this->conn);
        @mysql_query("SET NAMES 'utf8'");
	}
	function  __destruct(){
		@mysql_close($this->conn);
	}
}

?>
